//-----------------------------------------------------------------------
// <copyright file="AssessmentItemResponse.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;using MongoDB.Bson;using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models{
    /// <summary>
    /// Information related to a specific response to an assessment item by the
    /// person being assessed. The entity includes the response, a score or
    /// indication that the response was correct or incorrect and other
    /// information such as response time.
    /// </summary>
    public class AssessmentItemResponse
    {
        #region Instance Properties
        [BsonId]
        public ObjectId _id { get; set; }

        public string Value { get; set; }

        public string ScoreValue { get; set; }

        public ObjectId? RefAssessItemResponseStatusId { get; set; }

        public ObjectId? RefProficiencyStatusId { get; set; }

        public string AidSetUsed { get; set; }

        public string DescriptiveFeedback { get; set; }

        public bool? ScaffoldingItemFlag { get; set; }

        public ObjectId? HintCount { get; set; }

        public bool? HintIncludedAnswer { get; set; }

        public TimeSpan? Duration { get; set; }

        public TimeSpan? FirstAttemptDuration { get; set; }

        public TimeSpan? StartTime { get; set; }

        public DateTime? StartDate { get; set; }

        public string SecurityIssue { get; set; }

        public ObjectId AssessmentItemId { get; set; }

        public ObjectId AssessmentParticipantSessionId { get; set; }

        public string ResultXML { get; set; }

        public DateTime? AssessmentItemResponseDescriptiveFeedbackDate { get; set; }

        public ObjectId? RefAssessmentItemResponseScoreStatusId { get; set; }

        #endregion Instance Properties}}